package com.eliota.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author MG
 * @since 2023-04-01
 */
@Data
@ApiModel(value = "Project对象", description = "")
@TableName("project")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("项目id")
      @TableId(value = "project_id", type = IdType.AUTO)
      private Integer projectId;

      @ApiModelProperty("项目名称")
      private String projectName;

      @ApiModelProperty("设备编号，唯一")
      private String projectNum;

      @ApiModelProperty("设备种类，分类")
      private Integer typeId;

      @ApiModelProperty("项目描述）")
      private String projectDesc;

      @ApiModelProperty("是否删除（0：未删除，1，删除）")
      private Integer status;

      @TableField(exist = false)
      private List<User> users;

      @TableField(exist = false)
      private List<ProjectUser> projectUser;


}
